package com.cuit.service.impl;

import com.cuit.pojo.BookUser;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

import java.util.List;

public interface ArticleRepository extends ElasticsearchRepository<BookUser,Integer> {
    List<BookUser> findBybookName(String bookName);
    List<BookUser> findByBookNameAndBookType(String bookName,String type);
}
